//
//  ContactManager.h
//  HomeWork6-1
//
//  Created by TravelRound on 15/10/30.
//  Copyright © 2015年 TravelRound. All rights reserved.
//

#import <Foundation/Foundation.h>
@class Contact;

@interface ContactManager : NSObject

@property (nonatomic, retain) NSMutableDictionary *dataDic;

- (id)init;

- (void)addContact:(Contact *)contact;

- (NSMutableArray *)getSortedNameOfKey:(NSString *)key;

- (NSMutableArray *)searchContactWithPhone:(NSString *)phone;

- (NSMutableArray *)getAllGirlsSortedOfAge;

- (void)deleteContactWithName:(NSString *)name;

- (void)deleteGroupWithKey:(NSString *)key;

- (void)allContactInfo;

@end
